<?php
/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use Webman\Route;

Route::group('/ddhdapi', function(){

    //    http://0.0.0.0:8787/ddhdapi/log/record
    Route::any('/log/record',[\app\controller\api\LogController::class,'record']);


    // 创建支付
//    Route::any('/create/',[\app\controller\api\GrController::class,'create']);
//
//    // 完成支付
//    Route::any('/{orderID}/capture/',[\app\controller\api\GrController::class,'capture']);
//
//    /* webhook 相关的 */
//    Route::any('/{whId}/transactional-webhooks/',[\app\controller\api\GrController::class,'transactionalWebhooks']);
//    Route::any('/{payId}/paypal-webhooks/',[\app\controller\api\GrController::class,'paypalWebhooks']);
//
//    Route::any('/{bs}/url',[\app\controller\api\GrController::class,'url']);

//    Route::any('/checkout/{channel}/{id}',[\app\controller\notify\NotifyController::class,'checkout']);//异步跳转paypal
//    Route::any('/{channel}',[\app\controller\notify\NotifyController::class,'notify']);//异步通知
//    Route::any('/adyen/callback',[\app\controller\notify\NotifyAdyen::class,'callback']);//跳转
//    Route::any('/paypal/callback',[\app\controller\notify\NotifyPaypal::class,'callback']);//paypal跳转
});




